import request from '@/utils/request'

export function loginApi (data) {
  return request.post('/h5/user/login', data)
}
export function registerApi (data) {
  return request.post('/h5/user/register', data)
}
export const getUserInfoAPI = () => request.get('/h5/user/currentUser')
